<template>
  <div>
    <Tab :listData="list" @UpdateDto='xinshuju'/>
    新 - {{hah}}
  </div>
</template>

<script>
import Tab from '../components/tab.vue'
export default {
  name: 'NavView',
  components: {
    Tab
  },
  data () {
    return {
      list: [
        { Dto: '22', age: '男' },
        { Dto: '12', age: '女' }
      ],
      hah: null
    }
  },
  methods: {
    xinshuju (data) {
      this.hah = data
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
